package com.sun.json.pojo;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class ResultVO<T> {
    private Boolean success = Boolean.TRUE;
    private T data;
    private ResultVO(){}
    public static <T> ResultVO<T> buildSuccess(T t){
        ResultVO<T> resultVO = new ResultVO<>();
        resultVO.setData(t);
        return resultVO;
    }


}
